/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bean.timer.interfaces;

import javax.swing.event.EventListenerList;

/**
 *
 * @author sammael
 */
public interface AbstractTimerModel {
    public long getLimit();
    public void setLimit(long limit);
    
    public void setHour(int time);
    public int getHour();
    
    public void setMinute(int time);
    public int getMinute();
    
    public void setSecond(int time);
    public int getSecond();
    
    public void setMSecond(int time);
    public int getMSecond();
    
    public boolean isCountingDown();
    public void setCountingDown(boolean countingDown);
    
    /*public long getCurrentTime();
    public void setCurrentTime(long time);*/
    
    /*jak pozostalo malo czasu :D*/
    public void setWarningTicksCount(int ticks);
    public int getWarningTicksCount();
    
    public void setTickLength(int milisec);
    public int getTickLength();
    
    public void addTimerListener(TimerListener listener);
    public void removeTimerListener(TimerListener listener);
    public EventListenerList getTimerListeners();
    
    
    
}
